package com.moyu.admin.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.moyu.admin.entity.SysRole;
import com.moyu.admin.entity.SysUserLogin;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author moyu
 * @since 2019-02-18
 */
public interface SysRoleService extends IService<SysRole> {

  List<SysRole> findRolesByUser(Long userId);

  Page<SysRole> selectRolePage(Page<SysRole> sysRolePage);
}
